package com.zhongfl.crm.lixiao.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 任务开关配置
 *
 * @Author: mawenlei
 * @Date: 2018/9/29
 */
@Configuration
@ConfigurationProperties(prefix = "jobs")
@Data
public class JobSwitchConfigProperties {

    private Lx2BOSSJobSwitch lx2boss;

    private BOSS2LxJobSwitch boss2lx;

    @Data
    public static class Lx2BOSSJobSwitch {

        private boolean department;

        private boolean channel;

        private boolean user;

        private boolean product;

        private boolean customerOrder;

        private boolean revisitLog;
    }

    @Data
    public static class BOSS2LxJobSwitch {

//        private boolean department;
//
//        private boolean channel;
//
//        private boolean user;
//
//        private boolean product;

        private boolean customerOrder;

        private boolean revisitLog;

        private boolean contrast;
    }
}
